package other.nowcoder.easy;

import java.util.Scanner;

/**
 * @author Stark
 * @description 计算糖果
 * @date 2022/4/21 15:36
 **/
public class CountCandy {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        while(scanner.hasNext()){
            int[] nums = new int[4];
            for(int i = 0; i < nums.length;i++){
                nums[i] = scanner.nextInt();
            }
            double A = (nums[0] + nums[2]) / 2.0;
            double B = (nums[1] + nums[3]) / 2.0;
            double C = (nums[3] - nums[1]) / 2.0;
            if(A % 1.0 != 0 || B % 1.0 != 0 || C % 1.0 != 0)
                System.out.println("No");
            else{
                if((int)(A - B) != nums[0])
                    System.out.println("No");
                else
                    System.out.println((int)A + " " + (int)B + " " + (int)C);
            }
        }
    }
}
